package cn.hehuoren.quartz.service;



import cn.hehuoren.quartz.model.QrtzJobRunLog;
import cn.hehuoren.core.utils.GridModel;

import java.util.List;

public interface IQrtzJobRunLogService {
	int insert(QrtzJobRunLog qrtzJobRunLog);

	List<QrtzJobRunLog> select(Integer start, Integer num, String id,
                               String jobName, String jobGroup, String runResultCode);

	QrtzJobRunLog getByKey(String id, String jobName, String jobGroup,
                           String currentDate);

	int getTotal(String id, String jobName, String jobGroup,
                 String runResultCode);

	 public GridModel<QrtzJobRunLog> selectQuartzJobRunLogPage(QrtzJobRunLog qrtzJobRunLog,
															   int pageNum, int pageSize,
															   String orderStr);
}
